#include "Vector.h"
#include <vector>

using namespace std;

void test1()
{
	//wzw::vector<int> v1;
	//wzw::vector<int> v2(5);
	//wzw::vector<int> v3(5, 10);
	//v1.reserve(5);
	//v1.resize(3);
	//v1.resize(10, 10);
	//v1.resize(3);

	//int a = v1[1];
	//const int ca = v1[1];

	wzw::vector<int> v1;
	v1.push_back(1);
	v1.push_back(2);
	v1.push_back(3);
	v1.push_back(4);
	//int arr[] = { 10, 20, 30, 40 };
	//v1.insert(v1.begin() + 1, arr, arr + 3);
	//v1.insert(v1.end(), arr, arr + 4);
	wzw::vector<int> v2(v1.begin(), v1.end());
	wzw::vector<int> v3(v1);
} 

void test2()
{
	//std::vector<int> v1;
	//int a = v1.front();
	//std::cout << a << std::endl;

	//std::vector<int> v1(100);
	//std::cout << v1.size() << std::endl;
	//std::cout << v1.capacity() << std::endl;

	//std::vector<int> v2;
	//std::cout << v2.size() << std::endl;
	//std::cout << v2.capacity() << std::endl;

	//std::vector<int> v3(100, 5);
	//std::cout << v3.size() << std::endl;
	//std::cout << v3.capacity() << std::endl;

	std::vector<int> v4(5, 10);
	v4.pop_back();
	//v4.insert(v4.begin() - 1, 4);

	v4.insert(v4.end() - 1, 4);

	v4.insert(v4.end(), 4);
	//v4.insert(v4.end() + 1, 5);
	int arr[] = { 1, 2, 3, 4 };
	v4.insert(v4.end(), arr, arr + 4);
}

int main()
{
	test1();
	//test2();

	return 0;
}